package com.soyotec.algorithm.algorithm.process;

import com.soyotec.algorithm.context.OptAlgorithmContext;

import java.io.File;

//进程交互集成算法的适配器
public interface ProcessAlgorithmPluginAdapter {

    AlgorithmRunner getAlgorithmRunner(OptAlgorithmContext optAlgorithmContext);

    String[] getCommandLines(File mainFile, AlgorithmRunner algorithmRunner, OptAlgorithmContext optAlgorithmContext);

    void copyFileToExecDir(OptAlgorithmContext optAlgorithmContext);

    File getExecDirFile(OptAlgorithmContext optAlgorithmContext,String mainFileName);
}
